﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FySystem.Entity.Common
{
    /// <summary>
    /// element-ui树控件的数据结构
    /// </summary>
    public class ElementTreeDTO<T>
    {
        public Guid? id { get; set; }

        public string? label {  get; set; }

        /// <summary>
        /// 扩展：其他需要的自定义字段
        /// </summary>
        public T extdata { get; set; }

        public List<ElementTreeDTO<T>> children {  get; set; }
    }
}
